import {FileInfo} from "@shared/models/FileInfo";
import {UserPublicInfo} from "@shared/models/UserInfo";

export class DiskPageStatus {
  breadcrumb: {
    title: string,
    link: string,
  }[] = []
  open_path: string = ''
  currentFile: FileInfo = new FileInfo()
  fileList: Array<FileInfo> = []
  all_checked: boolean = false
  checkedFiles: Array<FileInfo> = []
  loading: boolean = false
  search='';
  owner={
    userId:'',
    username:'',
    self:false
  }
  searchInputValue = '';
  flash() {
    this.open_path = '';
    this.currentFile = new FileInfo();
    this.fileList = [];
    this.all_checked = false;
    this.checkedFiles = [];
    // this.fileIdNameMap = new Map<string, string>();
    this.loading = false;
  }

}
